<!DOCTYPE html>
<html lang="en">

<head>
    <title>My BCIT Project</title>
    <meta name="comp2800 template" content="My 2800 App">

    <!------------------------>
    <!-- Required meta tags -->
    <!------------------------>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!------------------------------------------>
    <!-- Bootstrap Library CSS JS CDN go here -->
    <!------------------------------------------>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous">
    </script>

    <!-------------------------------------------------------->
    <!-- Firebase 8 Library related CSS, JS, JQuery go here -->
    <!-------------------------------------------------------->
    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>

    <!-------------------------------------------->
    <!-- Other libraries and styles of your own -->
    <!-------------------------------------------->
    <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
    <link rel="stylesheet" href="./styles/style.css">

    <style>
        body{
  background-image:url(./images/mbg3.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;

}
        .container{
            margin-top: 8%;
        }
    </style>
</head>

<body>
    <!------------------------------>
    <!-- Your HTML Layout go here -->
    <!------------------------------>

    <!-- our own navbar goes here --> <header id="navbarPlaceholder"></header>

    <!-- the body of your page goes here -->
    <!-- stuff -->
    <div class="container py-4">
        <h1>Food Practice!</h1>
        <h1>Can I share your food for today with you！</h1>
        <form>
            <!-- Calorie Input -->
            <div class="py-4">
                <label for="calorieInput">Enter the intake of this food</label>
                <input type="number" class="form-control" id="calorieInput" placeholder="Enter calories">
            </div>
            <div class="form-group">
                <label>Description</label>
                <br>
                <textarea id="detailsText" rows="4" cols="50"></textarea>
            </div>
            <div class="container py-3">
                <input type="file" id="mypicInput" accept="image/*" />
                <img id="mypic-goes-here" width=100 height=100 />
            </div>
            <div class="d-flex mt-5">
                <button type="button" class="btn btn-success" onclick="savePost()">Post Now</button>
            </div>
        </form>
    </div>

    <!-- our own footer goes here-->
  

    <!---------------------------------------------->
    <!-- Your own JavaScript functions go here    -->
    <!---------------------------------------------->
    <script src="./scripts/skeleton.js"></script>
    <script src="./scripts/post.js"></script>

</body>

</html>
